<HTML>
<HEAD>
<meta charset="UTF-8">
<title>com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="./index.html">com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture</a><br/>
<br/>
<h2>Package com.amazonaws.services.chime.sdk.meetings.audiovideo.video.capture</h2>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="-camera-capture-source/index.html">CameraCaptureSource</a></h4>
</td>
<td>
<p><a href="-camera-capture-source/index.html">CameraCaptureSource</a> is an interface for camera capture sources with additional features
not covered by <a href="-video-capture-source/index.html">VideoCaptureSource</a>.</p>
<code><span class="keyword">interface </span><span class="identifier">CameraCaptureSource</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-video-capture-source/index.html"><span class="identifier">VideoCaptureSource</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="-capture-source-error/index.html">CaptureSourceError</a></h4>
</td>
<td>
<p><a href="-capture-source-error/index.html">CaptureSourceError</a> describes an error resulting from a capture source failure
These can be used to trigger UI, or attempt to restart the capture source.</p>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">CaptureSourceError</span></code></td>
</tr>
<tr>
<td>
<h4><a href="-capture-source-observer/index.html">CaptureSourceObserver</a></h4>
</td>
<td>
<p><a href="-capture-source-observer/index.html">CaptureSourceObserver</a> observes events resulting from different types of capture devices. Builders
may desire this input to decide when to show certain UI elements, or to notify users of failure.</p>
<code><span class="keyword">interface </span><span class="identifier">CaptureSourceObserver</span></code></td>
</tr>
<tr>
<td>
<h4><a href="-default-camera-capture-source/index.html">DefaultCameraCaptureSource</a></h4>
</td>
<td>
<p><a href="-default-camera-capture-source/index.html">DefaultCameraCaptureSource</a> will configure a reasonably standard capture stream which will
use the <a href="https://developer.android.com/reference/android/view/Surface.html">Surface</a> provided by the capture source provided by a <a href="-surface-texture-capture-source-factory/index.html">SurfaceTextureCaptureSourceFactory</a></p>
<code><span class="keyword">class </span><span class="identifier">DefaultCameraCaptureSource</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-camera-capture-source/index.html"><span class="identifier">CameraCaptureSource</span></a><span class="symbol">, </span><a href="../com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-sink/index.html"><span class="identifier">VideoSink</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="-default-screen-capture-source/index.html">DefaultScreenCaptureSource</a></h4>
</td>
<td>
<p><a href="-default-screen-capture-source/index.html">DefaultScreenCaptureSource</a> uses <a href="https://developer.android.com/reference/android/media/projection/MediaProjection.html">MediaProjection</a> to create a <a href="https://developer.android.com/reference/android/hardware/display/VirtualDisplay.html">VirtualDisplay</a> to capture the
device screen. It will render the captured frames to a <a href="https://developer.android.com/reference/android/view/Surface.html">Surface</a> provided by a <a href="-surface-texture-capture-source-factory/index.html">SurfaceTextureCaptureSourceFactory</a>.</p>
<code><span class="keyword">class </span><span class="identifier">DefaultScreenCaptureSource</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-video-capture-source/index.html"><span class="identifier">VideoCaptureSource</span></a><span class="symbol">, </span><a href="../com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-sink/index.html"><span class="identifier">VideoSink</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="-default-surface-texture-capture-source/index.html">DefaultSurfaceTextureCaptureSource</a></h4>
</td>
<td>
<p><a href="-default-surface-texture-capture-source/index.html">DefaultSurfaceTextureCaptureSource</a> will provide a <a href="https://developer.android.com/reference/android/view/Surface.html">Surface</a> which it will listen to
and convert to <a href="../com.amazonaws.services.chime.sdk.meetings.audiovideo.video.buffer/-video-frame-texture-buffer/index.html">VideoFrameTextureBuffer</a> objects</p>
<code><span class="keyword">class </span><span class="identifier">DefaultSurfaceTextureCaptureSource</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-surface-texture-capture-source/index.html"><span class="identifier">SurfaceTextureCaptureSource</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="-default-surface-texture-capture-source-factory/index.html">DefaultSurfaceTextureCaptureSourceFactory</a></h4>
</td>
<td>
<p><a href="-default-surface-texture-capture-source-factory/index.html">DefaultSurfaceTextureCaptureSourceFactory</a> creates <a href="-default-surface-texture-capture-source/index.html">DefaultSurfaceTextureCaptureSource</a> objects</p>
<code><span class="keyword">class </span><span class="identifier">DefaultSurfaceTextureCaptureSourceFactory</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-surface-texture-capture-source-factory/index.html"><span class="identifier">SurfaceTextureCaptureSourceFactory</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="-screen-capture-resolution-calculator/index.html">ScreenCaptureResolutionCalculator</a></h4>
</td>
<td>
<p><a href="-screen-capture-resolution-calculator/index.html">ScreenCaptureResolutionCalculator</a> calculates scaled resolution based on input resolution
and target resolution constraint</p>
<code><span class="keyword">class </span><span class="identifier">ScreenCaptureResolutionCalculator</span></code></td>
</tr>
<tr>
<td>
<h4><a href="-surface-texture-capture-source/index.html">SurfaceTextureCaptureSource</a></h4>
</td>
<td>
<p><a href="-surface-texture-capture-source/index.html">SurfaceTextureCaptureSource</a> provides a <a href="https://developer.android.com/reference/android/view/Surface.html">Surface</a> which can be passed to system sources like the camera.
Upon <a href="-video-capture-source/start.html">start</a> call, the source will listen to the surface and emit any new images as <a href="../com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-frame/index.html">VideoFrame</a> objects to any
downstream <a href="../com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-sink/index.html">VideoSink</a> interfaces. This class is mostly intended for composition within <a href="../com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-source/index.html">VideoSource</a> implementations which will
pass the created <a href="https://developer.android.com/reference/android/view/Surface.html">Surface</a> to a system source, then call <a href="#">addVideoSink</a> to receive the frames before transforming and
passing downstream.</p>
<code><span class="keyword">interface </span><span class="identifier">SurfaceTextureCaptureSource</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-video-capture-source/index.html"><span class="identifier">VideoCaptureSource</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="-surface-texture-capture-source-factory/index.html">SurfaceTextureCaptureSourceFactory</a></h4>
</td>
<td>
<p><a href="-surface-texture-capture-source-factory/index.html">SurfaceTextureCaptureSourceFactory</a> is an factory interface for creating new <a href="-surface-texture-capture-source/index.html">SurfaceTextureCaptureSource</a> objects,
possible using shared state. This provides flexibility over use of <a href="-surface-texture-capture-source/index.html">SurfaceTextureCaptureSource</a> objects since
they may not allow reuse, or may have a delay before possible reuse.</p>
<code><span class="keyword">interface </span><span class="identifier">SurfaceTextureCaptureSourceFactory</span></code></td>
</tr>
<tr>
<td>
<h4><a href="-video-capture-format/index.html">VideoCaptureFormat</a></h4>
</td>
<td>
<p><a href="-video-capture-format/index.html">VideoCaptureFormat</a> describes a given capture format that can be set to a <a href="-video-capture-source/index.html">VideoCaptureSource</a>.
Note that <a href="-video-capture-source/index.html">VideoCaptureSource</a> implementations may ignore or adjust unsupported values.</p>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">VideoCaptureFormat</span></code></td>
</tr>
<tr>
<td>
<h4><a href="-video-capture-source/index.html">VideoCaptureSource</a></h4>
</td>
<td>
<p><a href="-video-capture-source/index.html">VideoCaptureSource</a> is an interface for various video capture sources (i.e. screen, camera, file) which can emit <a href="../com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-frame/index.html">VideoFrame</a> objects
All the APIs here can be called regardless of whether the <a href="../com.amazonaws.services.chime.sdk.meetings.audiovideo/-audio-video-facade.html">AudioVideoFacade</a> is started or not.</p>
<code><span class="keyword">interface </span><span class="identifier">VideoCaptureSource</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../com.amazonaws.services.chime.sdk.meetings.audiovideo.video/-video-source/index.html"><span class="identifier">VideoSource</span></a></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
